package ar.pmt.gwt.client.recurso.control;

import ar.pmt.gwt.client.rpc.service.CommonServiceAsync;




public class RecursoController {
	
	
	RecursoNotifier data;
	
	public RecursoController(final RecursoNotifier data) {                                
			this.data = data;
	}


	
	public void onclickBtSearchRecurso(String uid){		
		CommonServiceAsync asyn = new CommonServiceAsync();
		asyn.obtenerRecurso(uid, data);
	}
	
	
	public void onClickBtLogin(String uid){		
		CommonServiceAsync asyn = new CommonServiceAsync();
		asyn.obtenerRecursosPorPeticion(uid, data);
	}
}
